import yaml

f_json = open("data_json", "r", encoding="utf_8")
f_yaml = open("data_yaml", "r", encoding="utf_8")

d_json = yaml.safe_load(f_json)
d_yaml = yaml.safe_load(f_yaml)
print(d_json)
print(d_yaml)

print(d_json == d_yaml)
